package com.zmn.oms.dubbo.interfaces.zmn.normal.serviceitem;

import com.zmn.common.dto.ResponseDTO;
import com.zmn.oms.common.exception.OmsBaseException;
import com.zmn.oms.dubbo.dto.zmn.serviceitem.AddOrderServiceItemDIO;
import com.zmn.oms.dubbo.dto.zmn.serviceitem.OrderProductExtendDRO;
import com.zmn.oms.dubbo.dto.zmn.serviceitem.OrderServiceItemDRO;

/**
 * 类描述：啄木鸟-普通单-服务项
 * @author heciqi
 * @date 2018/12/6 14:51
 */
public interface ZsNormalOrderServiceItemRemoteService {

	/**
	 * 获取订单产品扩展
	 * @param orderId
	 * @return
	 */
	ResponseDTO<OrderProductExtendDRO> getOrderProductExtend(Long orderId) throws OmsBaseException;

	/**
	 * 根据订单id查询服务项列表
	 * @param orderId
	 * @return
	 */
	ResponseDTO<OrderServiceItemDRO> listByOrderId(Long orderId);

	/**
	 * 新增订单服务项
	 *
	 * @param addOrderServiceItemDTO
	 */
	ResponseDTO insertServiceItem(AddOrderServiceItemDIO addOrderServiceItemDTO) throws OmsBaseException;
}
